class Menu < ActiveRecord::Base
  has_many :children, class_name: "Menu", foreign_key: "father_id"
  belongs_to :father, class_name: "Menu"
  attr_accessible :action_id, :action_type, :father_id, :name
end
